# 查找当前目录下的所有源文件
# 并将名称保存到 DIR_examples_SRCS 变量
aux_source_directory(. DIR_LCD_DRV_SRCS)

add_subdirectory(lib/Config)
add_subdirectory(lib/LCD)


include_directories(lib/Config)
include_directories(lib/LCD)


# 生成链接库
add_library(LCD_DRV ${DIR_LCD_DRV_SRCS})
#target_link_libraries(lcd Config LCD OLED Infrared Icm20948 GUI Fonts  pico_stdlib hardware_spi hardware_i2c hardware_pwm)
#target_link_libraries(LCD_DRV PUBLIC Config LCD Infrared  hardware_spi hardware_i2c hardware_pwm)
target_link_libraries(LCD_DRV PUBLIC Config LCD)